package com.chinatcc.proxy.pojo;
// default package

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;


/**
 * Users entity. @author MyEclipse Persistence Tools
 */

public class Users  implements java.io.Serializable {


    // Fields    

     private Long id;
     private Role role;
     private String password;
     private String companyname;
     private String address;
     private String contact;
     private String email;
     private String qq;
     private Timestamp endTime;
     private Timestamp pdatetime;
     private Long pid;
     private String username;
     private String realname;
     private String delFlag;
     private Timestamp crtTime;
     private String state;
     private String regional;
     private String regist;
     private Set recordsForFromuser = new HashSet(0);
     private Total total;
     private Set recordsForReceiveruser = new HashSet(0);
     private Set terminals = new HashSet(0);
     
    // Constructors

    /** default constructor */
    public Users() {
    }

    
    /** full constructor */
    public Users(Role role, String password, String companyname, String address, String contact, String email, String qq, Timestamp endTime, Timestamp pdatetime, Long pid, String username, String realname, String delFlag, Timestamp crtTime, String state, String regional,String regist, Set recordsForFromuser, Total total, Set recordsForReceiveruser, Set terminals) {
        this.role = role;
        this.password = password;
        this.companyname = companyname;
        this.address = address;
        this.contact = contact;
        this.email = email;
        this.qq = qq;
        this.endTime = endTime;
        this.pdatetime = pdatetime;
        this.pid = pid;
        this.username = username;
        this.realname = realname;
        this.delFlag = delFlag;
        this.crtTime = crtTime;
        this.state = state;
        this.regional = regional;
        this.regist = regist;
        this.recordsForFromuser = recordsForFromuser;
        this.total = total;
        this.recordsForReceiveruser = recordsForReceiveruser;
        this.terminals = terminals;
    }

   
    // Property accessors
    
    public Long getId() {
        return this.id;
    }
    
    public String getRegist() {
		return regist;
	}


	public void setRegist(String regist) {
		this.regist = regist;
	}


	public void setId(Long id) {
        this.id = id;
    }

    public Role getRole() {
        return this.role;
    }
    
    public void setRole(Role role) {
        this.role = role;
    }

    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }

    public String getCompanyname() {
        return this.companyname;
    }
    
    public void setCompanyname(String companyname) {
        this.companyname = companyname;
    }

    public String getAddress() {
        return this.address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }

    public String getContact() {
        return this.contact;
    }
    
    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getEmail() {
        return this.email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }

    public String getQq() {
        return this.qq;
    }
    
    public void setQq(String qq) {
        this.qq = qq;
    }

    public Timestamp getEndTime() {
        return this.endTime;
    }
    
    public void setEndTime(Timestamp endTime) {
        this.endTime = endTime;
    }

    public Timestamp getPdatetime() {
        return this.pdatetime;
    }
    
    public void setPdatetime(Timestamp pdatetime) {
        this.pdatetime = pdatetime;
    }

    public Long getPid() {
        return this.pid;
    }
    
    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getUsername() {
        return this.username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }

    public String getRealname() {
        return this.realname;
    }
    
    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getDelFlag() {
        return this.delFlag;
    }
    
    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Timestamp getCrtTime() {
        return this.crtTime;
    }
    
    public void setCrtTime(Timestamp crtTime) {
        this.crtTime = crtTime;
    }

    public String getState() {
        return this.state;
    }
    
    public void setState(String state) {
        this.state = state;
    }

    public String getRegional() {
        return this.regional;
    }
    
    public void setRegional(String regional) {
        this.regional = regional;
    }

    public Set getRecordsForFromuser() {
        return this.recordsForFromuser;
    }
    
    public void setRecordsForFromuser(Set recordsForFromuser) {
        this.recordsForFromuser = recordsForFromuser;
    }

    

    public Total getTotal() {
		return total;
	}


	public void setTotal(Total total) {
		this.total = total;
	}


	public Set getRecordsForReceiveruser() {
        return this.recordsForReceiveruser;
    }
    
    public void setRecordsForReceiveruser(Set recordsForReceiveruser) {
        this.recordsForReceiveruser = recordsForReceiveruser;
    }

    public Set getTerminals() {
        return this.terminals;
    }
    
    public void setTerminals(Set terminals) {
        this.terminals = terminals;
    }
   








}